{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_basic_info:admin}</h3>
	</div>
	{template common/info}
	<div class="setform">
		<form class="pzform" action="{url admin/basicinfo?act=save}" method="post">
			<div class="formgroup">
				<label class="formlabel">{lang site_name:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="site_name" name="site_name" value="$setting['site_name']"/>
				</div>
				<span class="formhelp">{lang site_name_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang site_domain:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="site_domain" name="site_domain" value="$setting['site_domain']"/>
				</div>
				<span class="formhelp">{lang site_domain_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang site_email:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="site_email" name="site_email" value="$setting['site_email']"/>
				</div>
				<span class="formhelp">{lang site_email_tip:admin}</span>
			</div> 
			
			{if $language=='zh_cn'}
			<div class="formgroup">
				<label class="formlabel">网站备案信息:</label>
				<div class="formcontrol">
					<input type="text" id="site_beian" name="site_beian" value="$setting['site_beian']"/>
				</div>
				<span class="formhelp">页面底部可以显示 ICP 备案信息，如果网站已备案，在此输入您的备案编号，它将显示在页面底部，如果没有请留空</span>
			</div>
			{/if}
			
			<div class="formgroup">
				<label class="formlabel">{lang site_analyze_code:admin}:</label>
				<div class="formcontrol">
					<textarea type="text" id="site_analyze_code" name="site_analyze_code" rows="3">$setting['site_analyze_code']</textarea>
				</div>
				<span class="formhelp">{lang site_analyze_code_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang site_close:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="siteclosed" value="1" {if $setting['siteclosed']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="siteclosed" value="0" {if !$setting['siteclosed']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang site_close_tip:admin}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}